[INFO] cloning repository https://github.com/fcavazzoli/async_test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fcavazzoli/async_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcavazzoli%2Fasync_test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcavazzoli%2Fasync_test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cedd0a0b2a98113177f925547092ee97b3973dcc
[INFO] checking fcavazzoli/async_test against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcavazzoli%2Fasync_test" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/fcavazzoli/async_test on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/fcavazzoli/async_test
[INFO] finished tweaking git repo https://github.com/fcavazzoli/async_test
[INFO] tweaked toml for git repo https://github.com/fcavazzoli/async_test written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/fcavazzoli/async_test already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e3e2cd7a921ecdec4573982d292bc3eef286af9c72fbdb0c2ea7a05d76bd95fb
[INFO] running `Command { std: "docker" "start" "-a" "e3e2cd7a921ecdec4573982d292bc3eef286af9c72fbdb0c2ea7a05d76bd95fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3e2cd7a921ecdec4573982d292bc3eef286af9c72fbdb0c2ea7a05d76bd95fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3e2cd7a921ecdec4573982d292bc3eef286af9c72fbdb0c2ea7a05d76bd95fb", kill_on_drop: false }`
[INFO] [stdout] e3e2cd7a921ecdec4573982d292bc3eef286af9c72fbdb0c2ea7a05d76bd95fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a224b2dba2bcca537ec074b27f443bf63759a3a5af6fc09713479447bea0d91e
[INFO] running `Command { std: "docker" "start" "-a" "a224b2dba2bcca537ec074b27f443bf63759a3a5af6fc09713479447bea0d91e", kill_on_drop: false }`
[INFO] [stderr]     Checking async_test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `JoinHandle`, `process::Output`
[INFO] [stdout]  --> src/queue.rs:1:64
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, borrow::{BorrowMut, Borrow}, thread::{JoinHandle, self}, process::Output};
[INFO] [stdout]   |                                                                ^^^^^^^^^^         ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/queue.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/queue.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::point::{Point, self};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread`, `time`
[INFO] [stdout]  --> src/main.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{thread, time};
[INFO] [stdout]   |           ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `JoinHandle`, `process::Output`
[INFO] [stdout]  --> src/queue.rs:1:64
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, borrow::{BorrowMut, Borrow}, thread::{JoinHandle, self}, process::Output};
[INFO] [stdout]   |                                                                ^^^^^^^^^^         ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/queue.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/queue.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::point::{Point, self};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread`, `time`
[INFO] [stdout]  --> src/main.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{thread, time};
[INFO] [stdout]   |           ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/queue.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn add(&self, point: Point) -> Result<Point,String> {
[INFO] [stdout]    |                                        -------------------- expected `Result<Point, String>` because of return type
[INFO] [stdout] 18 |       println!("add");
[INFO] [stdout] 19 |       let thread = thread::spawn(|| async move {
[INFO] [stdout]    |  ______________________________________________-
[INFO] [stdout] 20 | |       println!(r#"HOLA HILITO"#);
[INFO] [stdout] 21 | |       let result = foo(point.borrow().clone()).await;
[INFO] [stdout] 22 | |       if result.is_err(){
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |       }
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |_____- the found `async` block
[INFO] [stdout] 28 |       let result = thread.join();
[INFO] [stdout] 29 |       result.and_then(|point| return Ok(point))
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Point`, found opaque type
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<Point, String>`
[INFO] [stdout]               found enum `Result<impl Future<Output = Result<Point, String>>, Box<dyn Any + Send>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout]  --> src/queue.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, borrow::{BorrowMut, Borrow}, thread::{JoinHandle, self}, process::Output};
[INFO] [stdout]   |                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/queue.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn add(&self, point: Point) -> Result<Point,String> {
[INFO] [stdout]    |                                        -------------------- expected `Result<Point, String>` because of return type
[INFO] [stdout] 18 |       println!("add");
[INFO] [stdout] 19 |       let thread = thread::spawn(|| async move {
[INFO] [stdout]    |  ______________________________________________-
[INFO] [stdout] 20 | |       println!(r#"HOLA HILITO"#);
[INFO] [stdout] 21 | |       let result = foo(point.borrow().clone()).await;
[INFO] [stdout] 22 | |       if result.is_err(){
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |       }
[INFO] [stdout] 27 | |     });
[INFO] [stdout]    | |_____- the found `async` block
[INFO] [stdout] 28 |       let result = thread.join();
[INFO] [stdout] 29 |       result.and_then(|point| return Ok(point))
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Point`, found opaque type
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<Point, String>`
[INFO] [stdout]               found enum `Result<impl Future<Output = Result<Point, String>>, Box<dyn Any + Send>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout]  --> src/queue.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, borrow::{BorrowMut, Borrow}, thread::{JoinHandle, self}, process::Output};
[INFO] [stdout]   |                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `async_test` due to 2 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `async_test` due to 2 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a224b2dba2bcca537ec074b27f443bf63759a3a5af6fc09713479447bea0d91e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a224b2dba2bcca537ec074b27f443bf63759a3a5af6fc09713479447bea0d91e", kill_on_drop: false }`
[INFO] [stdout] a224b2dba2bcca537ec074b27f443bf63759a3a5af6fc09713479447bea0d91e
